import './assets/main.css'
import router from "./router"
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { Search } from 'vant';
import { Popup } from 'vant';
import 'vant/lib/index.css';
import { Icon } from 'vant';
import { Empty } from 'vant';

import App from './App.vue'
import { CountDown } from 'vant';
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(CountDown);

app.use(Search);
app.use(createPinia())
app.use(router)
app.use(Popup);
app.use(Icon);
app.use(Empty);
app.mount('#app')
